package com.yunhai.device.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yunhai.common.dto.PaginationVo;
import com.yunhai.model.entity.dms.DmsDeviceCategoryEntity;
import com.yunhai.model.vo.dms.DmsDeviceCategoryQuery;
import com.yunhai.model.vo.dms.DmsDeviceCategoryVo;

import java.util.List;


public interface DeviceCategoryService {

	/**
	 * 获取 DeviceCategory 分页列表
	 */
	public IPage getDeviceCategoryPagination(PaginationVo paginationVo, DmsDeviceCategoryQuery dmsDeviceCategoryQuery ) throws Exception;


	/**
	 * 获取 DeviceCategory 所有数据
	 *
	 */
	public List<DmsDeviceCategoryEntity> getDeviceCategoryAllList(DmsDeviceCategoryQuery dmsDeviceCategoryQuery ) throws Exception;


	/**
	 * 获取 DeviceCategory 详情
	 */
	public DmsDeviceCategoryEntity getDeviceCategoryDetail( Long id) throws Exception;


	/**
	 * 新增 DeviceCategory
	 * */
	public void addDeviceCategory(DmsDeviceCategoryVo dmsDeviceCategoryVo) throws Exception;


	/**
	 * 更新 DeviceCategory
	 * */
	public void updateDeviceCategory( DmsDeviceCategoryVo dmsDeviceCategoryVo) throws Exception;


	/**
	 * 删除 DeviceCategory
	 * */
	public void batchRemoveDeviceCategory( List<Long> ids ) throws Exception;

	List<DmsDeviceCategoryEntity> getProductListByIds(List<Long> list) throws Exception;

}